"""
达达商城登录功能测试[requests模块]
依据：接口文档
"""

import requests

url = "http://127.0.0.1:8000/v1/tokens"

post_data = {
    'username':'laoli123',
    'password':'123456',
    'carts':[]
}
resp=requests.post(url=url,json=post_data)
print(resp.json())
